package com.naire.modul.dictionary.service;

import net.common.service.GeneralService;
import com.naire.modul.dictionary.dao.DictionaryDao;
import com.naire.modul.dictionary.dao.impl.DictionaryDaoImpl;
import com.naire.modul.dictionary.vo.DictionaryVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class DictionaryFindService extends GeneralService {

	private DictionaryVo bean;
	private Integer id;

	@Override
	public void execute() throws Exception {
		DictionaryDao dao = new DictionaryDaoImpl();
		bean = dao.find(id);
	}

	public DictionaryVo getBean() {
		return bean;
	}

	public void setId(Integer id) {
		this.id = id;
	}

}
